package ao

import (
	"context"
	pb "gitee.com/micro-services/protocol/area/api"
	"micro.area.client/integration"
)

func AreaList(ctx context.Context) ([]*pb.Area, error) {
	return integration.AreaList(ctx)
}

func CreateCircle(ctx context.Context, r *pb.APICreateBusinessCircleReq) (*pb.APICreateBusinessCircleRsp, error) {
	return integration.CreateCircle(ctx, r)
}

func DeleteCircle(ctx context.Context, r *pb.APIDeleteBusinessCircleReq) (*pb.APIDeleteBusinessCircleRsp, error) {
	return integration.DeleteCircle(ctx, r)
}

func BatchCircleInfo(ctx context.Context, r *pb.APIBatchBusinessCircleInfoReq) (*pb.APIBatchBusinessCircleInfoRsp, error) {
	return integration.BatchCircleInfo(ctx, r)
}

func SearchCircle(ctx context.Context, r *pb.APISearchBusinessCircleReq) (*pb.APISearchBusinessCircleRsp, error) {
	return SearchCircle(ctx, r)
}
